from django.db import models

# Create your models here.


class User(models.Model):
	username = models.CharField(max_length=32)
	password = models.CharField(max_length=32)
	tel = models.CharField(max_length=32)


class Userdetail(models.Model):
	sex = models.CharField(max_length=32)
	addr = models.CharField(max_length=32)
	ud = models.OneToOneField(User)
	# caracter = models.ManyToManyField(User)


class Usertable(models.Model):
	username = models.CharField(max_length=32)
	password = models.CharField(max_length=32)
	tel = models.CharField(max_length=32)
	sex = models.CharField(max_length=32)
	addr = models.CharField(max_length=32)
	caracter = models.CharField(max_length=32)
